package com.freight.user.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.freight.core.common.constant.CommonConstant;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.annotations.ColumnTransformer;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class CommpanyInformationVo {

    @ApiModelProperty(value = "所在省市")
    private String address;

    @ApiModelProperty(value = "街道地址")
    private String receivingStreet;

    @ApiModelProperty(value = "用户头像")
    private String avatar;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "电话")
    private String mobile;

    @ApiModelProperty(value = "公司名称")
    private String companyName;

    @ApiModelProperty(value = "性别")
    private String sex;

    @ApiModelProperty(value = "身份证号码")
    private String num;

    @ApiModelProperty(value = "企业审核状态 0未认证 1已认证 2审核中 3已过期 4已注销")
    private Integer companyStatus = CommonConstant.REGIST;

    @ApiModelProperty(value = "公司代表人")
    private String companyUserName;

    @ApiModelProperty(value = "企业信用代码")
    private String certNo;

    @ApiModelProperty(value = "地址")
    private String street;

    @ApiModelProperty(value = "公司注册手机号")
    private String companyPhone;

    @ApiModelProperty(value = "公司代表人手机号码")
    private String companyUserPhone;

    @ApiModelProperty(value = "开户账号")
    private String bankCode;

    @ApiModelProperty(value = "开户银行")
    private String bankName;


    @ApiModelProperty(value = "身份证前置照片地址")
    private String idCardFontPicFileId;

    @ApiModelProperty(value = "身份证后置照片地址")
    private String idCardBackPicFileId;

    @ApiModelProperty(value = "公司营业执照图片地址")
    private String companyLicenseFileId;




    //联系人信息
    @ApiModelProperty(value = "联系人电话")
    private String contactPhone;

    @ApiModelProperty(value = "身份证号")
    private String contactnum;

    @ApiModelProperty(value = "姓名")
    private String contactname;


    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "身份证结束日期")
    private Date contactendDate;


    @ApiModelProperty(value = "身份证前置照片地址")
    private String contactIdCardFontPicFileId;

    @ApiModelProperty(value = "身份证后置照片地址")
    private String contactIdCardBackPicFileId;






}
